package op;

public class Test3 {

	public static void main(String[] args) {
		
		int n = 20;
		while (n < 10) {
			System.out.println("你跑了" + n + "次");
			n++;
			if(n==6) {
				break;  //跳出循环
			}
		}
		
		/*
		int a,b,c;
		a=8;
		b=6;
		System.out.println("交互前");
		System.out.println("a="+a);
		System.out.println("b="+b);
		
		System.out.println("交互后");
		c=a;
		a=b;
		b=c;
		
		System.out.println("a="+a);
		System.out.println("b="+b);
		*/
	}

}
